/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.openbravo.bean;

import cn.ekuma.data.dao.bean.I_ModifiedLogBean;
import java.util.Date;
import java.util.HashMap;

/**
 *
 * @author Administrator
 */
public class Receipt implements I_ModifiedLogBean<String>{
     /**
	 * 
	 */
	private static final long serialVersionUID = 7846391854981383641L;
	public  String id;
     public  String momey;
     public  Date dateNew;
     public HashMap<String,String> attributes;
     private Date lastModified;

    public Receipt() {
    }

    public Receipt(String id, String momey, Date dateNew, HashMap<String,String> attributes) {
        this.id = id;
        this.momey = momey;
        this.dateNew = dateNew;
        this.attributes = attributes;
    }

    public HashMap<String,String> getAttributes() {
        return attributes;
    }

    public void setAttributes(HashMap<String,String> attributes) {
        this.attributes = attributes;
    }

    public Date getDateNew() {
        return dateNew;
    }

    public void setDateNew(Date dateNew) {
        this.dateNew = dateNew;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMomey() {
        return momey;
    }

    public void setMomey(String momey) {
        this.momey = momey;
    }

    public String getKey() {
        return id;
    }

    public Date getLastModified() {
        return lastModified;
    }

    public void setLastModified(Date lastModified) {
        this.lastModified = lastModified;
    }

    public void setKey(String key) {
        id=key;
    }
}
